package top.kaoshanji.p1ch10c;

/**
 * 代码清单-p1ch10c-94页c：场景类
 * @author kaoshanji
 * ^_^
 * create time 2025/3/22 9:56
 */
public class Client {

    public static void main(String[] args) {

        AbstractClass class1 = new ConcreteClass1();
        AbstractClass class2 = new ConcreteClass2();

        // 调用模板方法
        class1.templateMethod();
        class2.templateMethod();

    }

}
